#include "exp_1.h"
int print_STU(STU *s) {
    printf("------------------------------\n");
    printf("学号：%d\t姓名：%s\n", s->id, s->name);
    printf("------------------------------\n");
}

int print_STU_Score(STU *s, Course *co) {
    printf("------------------------------\n");
    printf("学号：%d\t姓名：%s\n", s->id, s->name);
    Score *sc = &s->scoreList;
    while (co->next) {
        co = co->next;
        sc = sc->next;
        printf("%s：%d\t", co->name, sc->val);
    }
    printf("\n------------------------------\n");
}